package grpc_client

import (
	"longmen/server/config/global"
	"longmen/server/pkg/common/helper/const"
	pb "longmen/server/pkg/protobuf"
)

//models_live
var GrpcLiveServer pb.LiveServerClient

func InitLiveGrpc(token *Token) {
	tencentImConn := getClientConn(global.GetMicroserviceName(_const.GRPC_LIVE_SERVER_NAME_KEY), token)
	GrpcLiveServer = pb.NewLiveServerClient(tencentImConn)
}
